Commit 0d9d808217a04ee965ce5f60f9aff00b2ec4938e fixed the hotspot issue,
but commit f2cc52fddd74b3064eec85e17161ebbc4ee14f49 then optimized away
cursor changes a little too aggressively. We always need to set the
cursor on enter. Make sure we clear the current cursor on leave so we
don't think it's already set on the next enter.